package com.salary.entity.dto;

import java.util.Date;

import com.salary.entity.Tax;

public class TaxDTO {
	private Long id;
	private String staff;
	private Date accountTime;
	private float salary;
	private float commonTax;
	private float welfareTax;
	private float amount;
	
	
	
	public TaxDTO() {
		super();
	}
	
	
	public TaxDTO(Tax tax,String staff,float salary) {
		super();
		this.id = tax.getId();
		this.staff = staff;
		this.salary = salary;
		this.commonTax = tax.getCommonTax();
		this.welfareTax = tax.getWelfareTax();
		this.amount = tax.getAmount();
		this.accountTime = tax.getAccountTime();
	}


	

	public TaxDTO(Long id, String staff, Date accountTime, float salary, float commonTax, float welfareTax,
			float amount) {
		super();
		this.id = id;
		this.staff = staff;
		this.accountTime = accountTime;
		this.salary = salary;
		this.commonTax = commonTax;
		this.welfareTax = welfareTax;
		this.amount = amount;
	}


	public String getStaff() {
		return staff;
	}
	
	public Long getId() {
		return id;
	}


	public Date getAccountTime() {
		return accountTime;
	}


	public float getSalary() {
		return salary;
	}
	public float getCommonTax() {
		return commonTax;
	}
	public float getWelfareTax() {
		return welfareTax;
	}
	public float getAmount() {
		return amount;
	}
	
	
}
